package com.shop.dao;

import com.shop.po.Syroleauthority;
import com.shop.po.SyroleauthorityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SyroleauthorityMapper {
    int countByExample(SyroleauthorityExample example);

    int deleteByExample(SyroleauthorityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Syroleauthority record);

    int insertSelective(Syroleauthority record);

    List<Syroleauthority> selectByExample(SyroleauthorityExample example);

    Syroleauthority selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Syroleauthority record, @Param("example") SyroleauthorityExample example);

    int updateByExample(@Param("record") Syroleauthority record, @Param("example") SyroleauthorityExample example);

    int updateByPrimaryKeySelective(Syroleauthority record);

    int updateByPrimaryKey(Syroleauthority record);
}